package com.testpro.DesignPattern.ProxyPattern;

public class ContextProxy implements StartWork{

    private StartWork startWork;

    public ContextProxy(StartWork startWork) {
        this.startWork = startWork;
    }

    @Override
    public void doWork() {
            this.startWork.doWork();
    }
}
